package com.zengshuai.miniprogrambackend.Mapper;

import com.zengshuai.miniprogrambackend.Entity.Employee;
import com.zengshuai.miniprogrambackend.Entity.Image;
import com.zengshuai.miniprogrambackend.Entity.Part;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeMapper {
    boolean login (String employeeid,String password);

    Employee getemployeeinfo (String employeeid);

    List<Part> getpartsbycategory(String serviceid, String category);

    List<Image> getimages(String serviceid,String category);

    void charge(String actualpayment, String chargedetail,String id);

}
